package com.senseuni.da.ui.dialog;

import android.content.Context;

import com.senseuni.common.dialog.AVLoadingIndicatorView;
import com.senseuni.common.dialog.CBDialogBuilder;
import com.senseuni.da.R;

public class ProgressDialog extends CBDialogBuilder {


    public ProgressDialog(Context context) {
        super(context, CBDialogBuilder.DIALOG_STYLE_PROGRESS_AVLOADING, (float) 0.5);
        setProgressIndicatorColor(context.getResources().getColor(R.color.color_primary));
        setTouchOutSideCancelable(false);
        setProgressIndicator(AVLoadingIndicatorView.LineScale);
        setDialogAnimation(CBDialogBuilder.DIALOG_ANIM_NORMAL);
    }
}
